import 'package:flutter/material.dart';

class UIStockHome extends StatefulWidget {
  const UIStockHome({Key? key}) : super(key: key);

  @override
  State<StatefulWidget> createState() => _StockHomeState();
}

class _StockHomeState extends State<UIStockHome> {

  int _index = 0;

  Widget _buildLeftMenu() {
    return Text("data");
  }

  Widget _buildContent() {
    return Text("data");
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: const Text("Stock"),),
        drawer: _buildLeftMenu(),
        body: SafeArea(
          top: true,
          child: _buildContent(),
        )
    );
  }

}